// ? POC 请求单行列表
import React from 'react';

import { observer } from 'mobx-react-lite';
import CustomTable from './Table';

const OrderLine = (props: any) => {
  const {
    orderId, // 请求单id，即头id
    totalNum, // 总数
    moneyChangeFlow,
    lineDetailEditFlow,
    formDataSet,
    flowFormQuery,
    orderBoCode,
    orderLineBoCode,
    handleRunEvent,
    setEventFunction,
    handleChangeOutputParams,
    ...extralProps
  } = props;
  const boCode = orderBoCode || 'SRQ_ORDER_LINES';

  console.log('头ID组件渲染', props);

  return (
    <CustomTable boCode={boCode} />
  );
};

export default observer(OrderLine);
